<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>用户添加功能</title>
		<link rel="stylesheet" type="text/css" href="css/basic.css" />
		<link rel="stylesheet" type="text/css" href="css/input.css" />
		<link rel="stylesheet" type="text/css" href="css/table.css" />
		<link rel="stylesheet" type="text/css" href="css/btn.css" />
		<script language="javascript" type="text/javascript" src="js/WdatePicker.js"></script>
		<script type="text/javascript" src="js/validateUtils.js"></script>
		<script type="text/javascript" src="js/validateform_add.js"></script>
		
	</head>

	<body>

		<form action="memberadd_do.jsp" onsubmit="return validateAll();" method="post">
			<table id="mytable" cellpadding="5px" cellspacing="0px" width="100%" border="1px solid #000000">
				<tr>
					<th colspan="3" align="left">增加新用户</th>
				</tr>

				<tr>
					<td>用户编号:</td>
					<td><input type="text" name="mid" id="mid" class="init">&nbsp;&nbsp;&nbsp;<span id="mid_msg"></span></td>
					<td>请填写邮箱或者手机号码</td>
				</tr>
				<tr>
					<td>真实姓名:</td>
					<td><input type="text" name="name" id="name" class="init">&nbsp;&nbsp;&nbsp;<span id="name_msg"></span></td>
					<td>请填写要增加的用户姓名</td>
				</tr>
				<tr>
					<td>性别:</td>
					<td><input type="radio" name="sex" id="sex" value="男"  checked="checked">男&nbsp;&nbsp;&nbsp;<input type="radio" name="sex" id="sex" value="女">女&nbsp;&nbsp;&nbsp;<span id="sex_msg"></span></td>
					<td>请选择您的性别</td>
				</tr>
				<tr>
					<td>学历:</td>
					<td>
						<select name="edu" id="edu">
							<option value="小学">小学</option>
							<option value="初中">初中</option>
							<option value="高中">高中</option>
							<option value="大专">大专</option>
							<option value="本科">本科</option>
							<option value="硕士">硕士</option>
							<option value="博士">博士</option>
							<option value="博士后">博士后</option>
						</select>
						&nbsp;&nbsp;&nbsp;<span id="edu_msg"></span>
					</td>
					<td>请选择您的学历</td>
				</tr>
				<tr>
					<td>生日:</td>
					<td><input type="text" name="birth" id="birth" onClick="WdatePicker({el:this,dateFmt:'yyyy-MM-dd'})"  style="width: 250px;"><span id="birth_msg"></span></td>
					<td>请选择您的生日</td>
				</tr>
				<tr>
					<td>个人收入:</td>
					<td><input type="text" name="salary" id="salary" class="init">&nbsp;&nbsp;&nbsp;<span id="salary_msg"></span></td>
					<td>请填写工资</td>
				</tr>
				<tr>
					<td colspan="3">个人简介:</td>
				</tr>
				<tr>
					<td colspan="3">
						<textarea id="note" name="note" cols="50" rows="10" ></textarea>
					</td>
				</tr>
				<tr>
					<td colspan="3">
						<input type="submit" value="增加" id="btn_add"  />&nbsp;&nbsp;<input type="reset" id="btn_reset" />
					</td>
				</tr>
			</table>

		</form>

	</body>

</html>